// 导入需要的config和request
import confing from '../config/config.js';
import request from '../util/request.js';

// 申明请求对象
const genIdRequst = {
    BASE_URL: confing.QC_URL + "/gen",

    genIndexCode(callback){

        let url =this.BASE_URL
        request.get( url,callback);
    },
    genTemplateCode(callback){
        let url =this.BASE_URL+"/template"
        request.get( url,callback);

    },
    genIqcCode(callback){
        let url =this.BASE_URL+"/iqc"
        request.get( url,callback);
    }



 
}

// 将dictRequest暴漏出去
export default genIdRequst;